<?php

$this->useClass('RL_View_Template');

class RL_View_RssTemplate extends RL_View_Template
{
	// --- widgets --- {{{
	public function renderWidgets ($widgets)
	{
	} // end of function renderWidgets
	// --- widgets --- }}}

	public function getContent ()
	{
		$this->ctx->tpl->load($this->getVars());
		$out = $this->ctx->tpl->parse($this->getTemplate());

		$this->out = $out;

		return $this->out;
	} // end of function render

	public function buildMeta ()
	{
		$this->ctx->rh->useClass('RL_Meta');
		$meta = RL_Meta::create($this->ctx, 'Xml');
		$meta->setObject($this);
		$meta->charset = $this->ctx->rh->getPreferredOutputCharset();
		return $meta;
	} // end of function buildMeta
}


